package com.hzt.agprosaleplatform.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user")
public class User {
    @TableId(value = "uid")
    private String uid;
    private String role;
    private String username;
    private String password;
    private String phone;
    private String address;
    private String realname;
    private String identityNum;
    private int credit;
    private String avatar;  //存储头像路径

}
